<?php

	function crearLista($query,$mysqli){
		$lista = "";
		
		$result = $mysqli->query($query);
		
		while($row = $result->fetch_array()){
			$lista[] = $row;
		}
		return $lista;
	}
	
	
?>